package mybatis.annotation;


import mybatis.QueryAdapter;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * 可以配合 {@link QueryAdapter} 获取 EntityTypeAlias 并设置 QueryWrapper.select
 *
 * @author CKC
 */
@Target({ElementType.TYPE})
@Retention(RetentionPolicy.RUNTIME)
public @interface EntityTypeAlias {
    String value();
}
